package com.xiguanlezz.cn.common.notify;

import java.util.function.BiFunction;

/**
 * @Author：习惯了种种
 * @CreateDate：2024/11/28 20:18
 * @Description：
 */
public interface EventPublisherFactory extends BiFunction<Class<? extends Event>, Integer, EventPublisher> {

    @Override
    EventPublisher apply(Class<? extends Event> eventType, Integer maxQueueSize);
}